package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.common.ResponseResult;
import com.shop.entity.Goods;
import com.shop.entity.Orders;


import java.util.List;

public interface OrdersService {
    public List<Orders> selectAll();
    public ResponseResult selectPage(Integer pagesize, Integer pagenum, String query);
    ResponseResult selectVo(Integer pagesize, Integer pagenum, String query);
//    public ResponseResult addOrders(Orders orders) throws Exception;
    public ResponseResult updateOrders(Integer id,Orders orders) throws Exception;
    public ResponseResult deleteOrders(Integer id) throws Exception;
    public ResponseResult selectOne(Integer id);
//    public ResponseResult updateOne(Integer id, Orders orders);
//    public ResponseResult selectGoods(Integer id);
}
